SizeDialogItem
NEW WITH THE APPEARANCE MANAGER
Sizes a dialog item.
pascal OSErr SizeDialogItem ( DialogPtr inDialog, SInt16 inItemNo, SInt16 inHeight, SInt16 inWidth);
inDialog
- A pointer to a dialog structure.
inItemNo
- A signed 16-bit integer representing the dialog item number within the item list.
inHeight
- A signed 16-bit integer representing the desired height (in pixels) of the dialog item's control rectangle.
inWidth
- A signed 16-bit integer representing the desired width (in pixels) of the dialog item's control rectangle.
- function result
- A result code; see "Result Codes".
DISCUSSION
TheSizeDialogItem
function resizes a dialog item to a specified size. If the dialog item is a control, the control rectangle and the dialog item rectangle (maintained by the Dialog Manager) are always the same.SEE ALSO
"Appearance Manager Gestalt Selector Constants".